package com.tudouji.project.bill.service;

import java.math.BigDecimal;
import java.util.List;
import com.tudouji.project.bill.domain.Whoutformitem;

/**
 * 出库单明细Service接口
 * 
 * @author wf
 * @date 2021-01-12
 */
public interface IWhoutformitemService 
{
    /**
     * 查询出库单明细
     * 
     * @param guid 出库单明细ID
     * @return 出库单明细
     */
    public Whoutformitem selectWhoutformitemById(String guid);

    /**
     * 查询出库单明细列表
     * 
     * @param whoutformitem 出库单明细
     * @return 出库单明细集合
     */
    public List<Whoutformitem> selectWhoutformitemList(Whoutformitem whoutformitem);

    /**
     * 新增出库单明细
     * 
     * @param whoutformitem 出库单明细
     * @return 结果
     */
    public int insertWhoutformitem(Whoutformitem whoutformitem);

    /**
     * 修改出库单明细
     * 
     * @param whoutformitem 出库单明细
     * @return 结果
     */
    public int updateWhoutformitem(Whoutformitem whoutformitem);

    /**
     * 批量删除出库单明细
     * 
     * @param guids 需要删除的出库单明细ID
     * @return 结果
     */
    public int deleteWhoutformitemByIds(String[] guids);

    /**
     * 删除出库单明细信息
     * 
     * @param guid 出库单明细ID
     * @return 结果
     */
    public int deleteWhoutformitemById(String guid);

    public BigDecimal sumCountByOrderIdAndSpeId(Whoutformitem outItem);

    public Whoutformitem selectWhoutformitemBySpId(Whoutformitem outItem);

    public Whoutformitem selectWhoutItemBySpeId(Whoutformitem outItem);
}
